package com.mall.seckill.dal.persistence;

import com.mall.commons.tool.tkmapper.TkMapper;
import com.mall.seckill.dal.entitys.PromoItem;
import org.apache.ibatis.annotations.Param;

/**
 * @author lichao
 * @createdate 2021-01-29 14:34
 */
public interface PromoItemMapper extends TkMapper<PromoItem> {

    Integer decreaseStock(@Param("psId") Integer psId, @Param("itemId") Integer itemId);
}
